package com.stadium.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 球队人员关系表
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:10
 */
@Data
@ApiModel(value = "球队人员关系表Vo")
public class RTeamUserVo {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "球队id")
    private String teamId;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "球员id")
    private String userId;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "用户姓名(昵称)")
    private String name;

    @Length(min = 0, max = 50)
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phoneNum;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "性别（0：未知 1：女 2：男）")
    private String sex;

    @ApiModelProperty(value = "地区")
    private String area;

    @ApiModelProperty(value = "身高 CM")
    private Integer height;

    @ApiModelProperty(value = "体重 KG")
    private Integer weight;

    @ApiModelProperty(value = "球龄")
    private Integer ballAge;

    @ApiModelProperty(value = "头像")
    private String headPortrait;


    @ApiModelProperty(value = "球衣编号")
    private Integer jerseyNum;

    @Length(min = 0, max = 2)
    @ApiModelProperty(value = "审核状态（2：未审核 1：审核通过 0：审核未通过）")
    private String auditStatus;

}
